<?php
// 删除留言信息
// header("content-type:text/html;charset=utf-8");
include_once("conn.php");
include_once("u_getLoginInfo.php");
if($status != 1){
    die("<script>alert('账户处于待注销状态，不可操作！');history.go(-1);</script>");
}
$msgID = $_GET['msgID'];

$del = "DELETE FROM msg_infos WHERE msg_ID = '$msgID'";

if(mysqli_query($connect_DB,$del)){
    echo "<script>alert('删除留言成功!');location.href='user_myMsg.php';</script>";
}else{
    echo "<script>alert('删除留言失败!');location.href='user_myMsg.php';</script>";
}

$connect_DB->close();
?>